<template>
	<view class="container">
		<!-- Logo -->
		<view class="logo-container">
			<view class="logo">分佣</view>
		</view>

		<!-- 输入框 -->
		<view class="input-container">
			<view class="input-box">
				<input class="input" placeholder="请输入账号" />
			</view>

			<view class="input-box">
				<input class="input" placeholder="请输入验证码" />
				<view class="captcha">M8k2</view>
			</view>
			<view class="input-box">
				<input class="input" placeholder="请输入密码" />
			</view>


		</view>

		<!-- 协议同意 -->
		<view class="agreement">
			<checkbox class="checkbox" checked activeBackgroundColor="#0062fd" color="#fff"></checkbox>
			<text class="agreement-text">已阅读并同意</text>
			<text class="agreement-link">《服务协议》</text>
			<text class="agreement-text">和</text>
			<text class="agreement-link">《隐私条款》</text>
		</view>

		<!-- 登录按钮 -->
		<button class="login-btn">本机号码一键登录</button>

		<!-- 注册链接 -->
		<view class="register">
			<text class="register-text">没有账户？</text>
			<text class="register-link">免费注册</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		}
	};
</script>

<style lang="scss">
	.container {
		background: linear-gradient(to right, #dde3f9, #ecf3ec);
		width: 100%;
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 150rpx;

	}

	.menu-dots {
		margin-right: 20rpx;
	}

	.user-icon {
		width: 40rpx;
		height: 40rpx;
		border-radius: 50%;
		border: 1px solid #ccc;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Logo */
	.logo-container {
		display: flex;
		justify-content: center;
		margin: 80rpx 0 60rpx;

		.logo {
			width: 140rpx;
			height: 140rpx;
			background-color: #0062fd;
			border-radius: 30rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			color: white;
			font-size: 46rpx;
			font-weight: bold;
		}
	}



	/* 输入框 */
	.input-container {
		width: 90%;
		margin-top: 100rpx;

		.input-box {

			display: flex;
			align-items: center;
			width: 100%;

			background-color: white;
			border-radius: 40rpx;
			margin-bottom: 30rpx;
			box-sizing: border-box;
			padding: 7rpx;

			.input {
				border: none;
				font-size: 32rpx;
				flex: 1;
				padding: 18rpx;

			}

			.captcha {
				// width: 130rpx;
				padding: 18rpx 25rpx;
				letter-spacing: 10rpx;
				border-radius: 40rpx;
				font-weight: bold;
				font-size: 38rpx;
				background-color: #99999955;
				display: flex;
				align-items: center;
				justify-content: center;

			}
		}

	}



	/* 协议同意 */
	.agreement {
		display: flex;
		align-items: center;
		margin: 40rpx 0;
		letter-spacing: 2rpx;
		font-size: 28rpx;

		.checkbox {

			border-radius: 5rpx;
			margin-right: 10rpx;
		}

		.agreement-text {
			color: #999;
		}

		.agreement-link {
			color: #0062fd;
		}

	}

	::v-deep uni-checkbox .uni-checkbox-input {
		width: 35rpx;
		height: 35rpx;
		border-radius: 10rpx;
		// box-sizing: border-box;
	}

	::v-deep uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
		transform: translate(-50%, -48%) scale(.63);
		-webkit-transform: translate(-50%, -48%) scale(.63);
	}



	/* 登录按钮 */
	.login-btn {
		width: 90%;
		padding: 5rpx;
		border-radius: 50rpx;
		background-color: #0166ff;
		color: white;
		border: none;
		letter-spacing: 2rpx;
		font-size: 34rpx;
		margin-bottom: 40rpx;
	}

	/* 注册链接 */
	.register {
		display: flex;
		justify-content: center;
		margin-bottom: 40rpx;
		font-size: 32rpx;

		.register-text {
			color: #000;
		}

		.register-link {
			color: #0166ff;

		}
	}
</style>